package com.hotacorp.opencloud.flowservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hotacorp.opencloud.common.mybatisplus.PageData;
import com.hotacorp.opencloud.flowservice.entity.LeaveRequestEntity;

import java.util.Map;

/**
 * 请假申请
 *
 * @author lwg
 * @email liwugang@139.com
 * @date 2020-01-11 12:17:00
 */
public interface LeaveRequestService extends IService<LeaveRequestEntity> {

    PageData queryPage(Map<String, Object> params);
    boolean setProcessInstanceId(Long tenantid, String username, Long leaverequestid, String processinstanceid);
    Long insert(LeaveRequestEntity entity);
}

